import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import VueParticles from "vue-particles";
import "nprogress/nprogress.css";
import "@/style/global.less";
import "element-plus/dist/index.css";
import { components } from "@/plugins/element";

const app = createApp(App);
// 按需导入Element Plus组件和插件
components.forEach((component) => {
  app.component(component.name, component);
});

app.use(store).use(router).use(VueParticles).mount("#app");
